package com.lizhi.yun.webservice.impl;

import com.lizhi.yun.webservice.WebService;
import org.springframework.stereotype.Component;

/**
 * @Author: lizhi
 * @Description:
 * @Date: create in 2020/9/15 16:04
 */
@javax.jws.WebService(serviceName = "webServer", //与接口中指定的name一直
        targetNamespace = "http://webservice.yun.lizhi.com/", // 与接口中的命名空间一致,一般是接口的包名倒
        endpointInterface = "com.lizhi.yun.webservice.WebService"//接口地址
)
@Component
public class WebServiceImpl implements WebService {

    @Override
    public String getValue(String userName) {
        return "成功了";
    }
}
